/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package unilearn.dao;

import java.util.List;
import unilearn.vo.Role;

/**
 *
 * @author Yat
 */
public interface RoleDAO {

    public abstract List<Role> getAll() throws Exception;

    public abstract Role get(int id) throws Exception;
    
    public abstract List<Role> find(Role role) throws Exception;

    public abstract Role insert(Role role) throws Exception;

    public abstract Role update(Role role) throws Exception;

    public abstract void delete(Role role) throws Exception;
}
